package com.hg.library.utils;

/**
 * Created by ASUS-PC on 2016/7/7.
 */
public class DataUtils {
    private static DataUtils ourInstance = new DataUtils();

    public static DataUtils getInstance() {
        return ourInstance;
    }

    private DataUtils() {
    }

    public static boolean isArrayElementEmpty(Object [] objects){
        for (int i = 0; i < objects.length; i++) {
            if (objects[i] == null) return true;
        }
        return false;
    }
}
